package com.hducms.core.dao;

import com.hducms.core.entity.UnifiedUser;

//import java.util.List;
//
//import com.jeecms.common.page.Pagination;
//import com.jeecms.core.entity.UnifiedUser;

public interface UnifiedUserDao {
	public UnifiedUser getByUsername(String username);
//
//	public List<UnifiedUser> getByEmail(String email);
//
//	public int countByEmail(String email);
//
//	public Pagination getPage(int pageNo, int pageSize);
//
	public UnifiedUser findById(Integer id);
//
	/**
	 * 新增用户
	 * @param bean
	 */
	public void save(UnifiedUser bean);

	/**
	 * 更新认证信息
	 * @param bean
	 */
	public void update(UnifiedUser bean);

	public void deleteById(Integer id);
}